#projectPanel
  #addProjectBtn
    if user.hasAdminPower()
      .ui.button.green.tiny(data-ui-sref=".addnew")
        .fa.fa-plus.fa-1x
        |  新建项目
    #filterPrjTypes.ui.button.orange.tiny.dropdown
      .fa.fa-filter.fa-1x
      span  筛选项目
      .menu
        .item(data-ng-repeat="type in filterPrjTypes",data-ng-click="setFilter(type)") {{type}}
  div(data-ng-repeat="city in cityList")
    h1.city(data-ng-bind="city.name") 
    .city-divider
    .line-panel(data-ng-repeat='line in city.lines')
      h3.line-header(data-ng-bind="line.name")
      .line-divider   
      .prj-panel(data-ng-repeat='prj in line.projects  | filter:{projectType:filterType}')
        .prj-header(data-ui-sref='projects.detail({prjId:prj.prjId})',title="{{prj.projectType}}",data-ui-sref-active="active",data-ng-bind="prj.name")
#projectDetail
  div(data-ui-view='')


